//  Constants.h
// Constants used in SpaceViking

#define kSamuraiSpriteZValue 100
#define kSamuraiSpriteTagValue 200
#define kRadarSpriteTagValue    201
#define kSamuraiIdleTimer 3.0f
#define kSamuraiFistDamage 10
#define kSamuraiMalletDamage 40
#define kRadarDishTagValue 10

#define kMainMenuTagValue 10
#define kSceneMenuTagValue 20

// Scene 2
#define kBossSpriteZValue       50
#define kBossSpriteTagValue     5

#define kPlayerSpriteZValue     60
#define kPlayerSpriteTagValue   6

#define kSlashSwordZValue       61

#define TURN_LEFT               1
#define TURN_RIGHT              2
#define TURN_STRIGHT            3
#define TURN_LEFT_THRESOLD      -3.5
#define TURN_RIGHT_THRESOLD     3.5

#define Const_ROADLINES         400 //480,250
#define Const_INITXSCALE        0.15 //0.05 , 0.2 ,0.1
#define Const_START_Z_SCALE     3/5
#define Consts_INCREASE_Y       1.2
#define Const_ZSPEED            20


//MENU
typedef enum {
    kNoSceneUninitialized=0,
    kMainMenuScene=1,
    kOptionsScene=2,
    kCreditsScene=3,
    kIntroScene=4,
    kLevelCompleteScene=5,
    kGameLevel1=101,
    kGameLevel2=102,
} SceneTypes;

#define RANDOWM_ACTION_NUM      6

// Chapter 10
//#define PTM_RATIO ((UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) ? 100.0 : 50.0)
#define PTM_RATIO ((UI_USER_INTERFACE_IDIOM() == \
UIUserInterfaceIdiomPad) ? 100.0 : 50.0)